﻿using System;

namespace Shop.Entity
{
    public class BaseEntity
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateAt { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public Guid CreateId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateAt { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateName { get; set; }
        /// <summary>
        /// 更新人Id
        /// </summary>
        public Guid? UpdateId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}